package com.atguigu.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.atguigu.common.utils.PageUtils;
import com.atguigu.product.entity.CategoryBrandRelationEntity;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Null;
import java.util.List;
import java.util.Map;

/**
 * 品牌分类关联
 *
 * @author dengjia
 * @email ${email}
 * @date 2022-01-05 12:03:58
 */
public interface CategoryBrandRelationService extends IService<CategoryBrandRelationEntity> {

    PageUtils queryPage(Map<String, Object> params);

    List<CategoryBrandRelationEntity> findById(Long brandId);

    void saveCategoryBrandRelation(CategoryBrandRelationEntity categoryBrandRelation);

    void updaBrand( Long brandId, String name);

    void updaCategory(Long catId, String name);
}

